package com.kingyea.mobilepolice.apimanage.specification.bean;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author cxc
 * @version v1.0.0
 * @description
 * @date Created in 2018-05-10 11:30
 */

public class SpecificationPage extends SpecilficationBaseResponse {
    @JSONField(name = "pageSize")
//    @JsonProperty("pageSize")
    private Integer length;

    @JSONField(name = "pageNum")//手动使用fastjson转换器 查询映射字段名注解
//    @JsonProperty("pageNum")//响应用的是jackson转换器 响应映射字段名注解
    private Integer start;

    private Integer total;

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
